package com.hongyun.tms.common.dto.pordwork;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hongyun.tms.common.PageDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 特殊作业记录列表
 *
 * @author liPeng
 * @date 2024-06-24
 **/
@Data
public class PordWorkSpecialQueryDto extends PageDto {

    @ApiModelProperty(value = "作业港区代码,字典")
    private String portAreaCode;

    @ApiModelProperty(value = "客户ID")
    private Long customerId;

    @ApiModelProperty(value = "客户名称")
    private String customerName;

    @ApiModelProperty(value = "拖轮ID")
    private Long tugId;

    @ApiModelProperty(value = "拖轮编号")
    private String tugNo;

    @ApiModelProperty(value = "传1表示查询特殊作业记录计费，status=1和status=2的都要查询出来(已审核和已计费的特殊作业记录)")
    private Integer isSpecialRecordFee;

    private Integer status;

    @ApiModelProperty(value = "开始作业时间")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd", timezone="GMT+8")
    private String startTime;

    @ApiModelProperty(value = "结束作业时间")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd", timezone="GMT+8")
    private String endTime;
}
